<?php
require_once './includes/parselang.php'; 

$id =  $_GET['id'];
$count = $_GET['count'];
$ribbonOrMedal = $_GET['rom'];
$vehicleOrMedal = $_GET['rom']; // Vehicle
$equipmentOrMedal = $_GET['rom']; // Equipment and perks
$unlockOrMedal = $_GET['rom']; // Unlock
$specOrMedal = $_GET['rom']; // Soldier Specialization
$weaponOrMedal = $_GET['rom']; // Weapons
$id = str_pad($id, 2 ,'0', STR_PAD_LEFT);

echo "<p>".$lang['P_AWARD_'.strtoupper($ribbonOrMedal).$id.'_NAME']."</p>";

if($ribbonOrMedal == "m")
{
	echo '<img width="256" height="256" src="img/awardsLarge/'.$ribbonOrMedal.$id.'.png" onclick="$( \'#tooltip\' ).hide( \'slow\');">';
}
if($ribbonOrMedal == "r")
{
	echo '<img width="256" height="95" src="img/awardsLarge/'.$ribbonOrMedal.$id.'.png" onclick="$( \'#tooltip\' ).hide( \'slow\');">';
}
if($vehicleOrMedal == "v")
{
	echo '<img width="254" height="153" src="img/vehicles/'.$vehicleOrMedal.$id.'.png" onclick="$( \'#tooltip\' ).hide( \'slow\');">';
}
if($unlockOrMedal == "u")
{
	echo '<img width="147" height="88" src="img/vehicleUnlocks/'.$unlockOrMedal.$id.'.png" onclick="$( \'#tooltip\' ).hide( \'slow\');">';
}
if($equipmentOrMedal == "e")
{
	echo '<img width="256" height="154" src="img/kitItems/'.$equipmentOrMedal.$id.'.png" onclick="$( \'#tooltip\' ).hide( \'slow\');">';
}
if($specOrMedal == "s")
{
	echo '<img width="256" height="154" src="img/specializations/'.$specOrMedal.$id.'.png" onclick="$( \'#tooltip\' ).hide( \'slow\');">';
}
if($weaponOrMedal == "w")
{
	echo '<img width="256" height="154" src="img/weapons/'.$weaponOrMedal.$id.'.png" onclick="$( \'#tooltip\' ).hide( \'slow\');">';
}
echo '<p class="awardCount">x'.$_GET['count']."</p>";

echo "<p>".$lang['P_AWARD_'.strtoupper($ribbonOrMedal).$id.'_DESC']."</p>";




//mysqli_close($link);
?>